import { getapi, postapi } from "@/utils/request";

export const getCredentials = (params) => {//获取腾讯云密钥
  return getapi("/console/common/getTempKeys", params);
}

export const uploadImg = (params) => {
  return postapi("/console/uploadImg", params, {
    'Content-Type': 'multipart/form-data'
  });
}